#ifndef _oled_h_
#define _oled_h_

#include "stm32f10x.h"
#define OLED_ADDRESS 0x78

void I2C_WriteByte(uint8_t addr,uint8_t data);
void WriteCmd(unsigned char I2C_Command);
void WriteData(unsigned char I2C_Data);
void OLED_Init(void);
void OLED_SetPos(unsigned char x,unsigned char y);
void OLED_Fill(unsigned char Fill_Data);
void OLED_CLS(void);
void OLED_ON(void);
void OLED_OFF(void);
void OLED_ShowChar(uint8_t Line, uint8_t Column, char Char);
void OLED_ShowChar2(uint8_t Line, uint8_t Column, char Char);
void OLED_ShowNum(uint8_t Line, uint8_t Column, uint32_t Number, uint8_t Length);
void OLED_ShowNum2(uint8_t Line, uint8_t Column, uint32_t Number, uint8_t Length);
void OLED_ShowStr(uint8_t Line, uint8_t Column, char *String);
void OLED_ShowStr2(uint8_t Line, uint8_t Column, char *String);
void OLED_ShowSymbol(uint8_t Line, uint8_t Column, int x);

#endif

